Step of Proof: p-first_wf
11,40
postcript
pdf
Inference at
*
I
of proof for Lemma
p-first
wf
:
A
,
B
:Type,
L
:((
A
(
B
+ Top)) List). p-first(
L
)
A
(
B
+ Top)
latex
by ((Unfold `p-first` 0)
CollapseTHEN (Auto
))
latex
Co
.
Definitions
p-first(
L
)
,
x
.
A
(
x
)
,
list_accum(
x
,
a
.
f
(
x
;
a
);
y
;
l
)
,
x
,
y
.
t
(
x
;
y
)
,
inr
x
,
,
Unit
,
x
:
A
.
B
(
x
)
,
case
b
of inl(
x
) =>
s
(
x
) | inr(
y
) =>
t
(
y
)
,
f
(
a
)
,
x
:
A
.
B
(
x
)
,
Void
,
type
List
,
x
:
A
B
(
x
)
,
left
+
right
,
Top
,
t
T
,
Type
Lemmas
list
accum
wf
,
it
wf
,
top
wf
origin